
package at.jku.ce.services.impl;

/**
 * Please modify this class to meet your needs
 * This class is not complete
 */

import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

/**
 * This class was generated by Apache CXF 2.3.7
 * 2012-01-23T13:57:25.488+01:00
 * Generated source version: 2.3.7
 * 
 */
public final class BOMServiceImpl_BOMServiceImplPort_Client {

    private static final QName SERVICE_NAME = new QName("http://impl.services.ce.jku.at/", "BOMServiceImplService");

    private BOMServiceImpl_BOMServiceImplPort_Client() {
    }

    public static void main(String args[]) throws java.lang.Exception {
        URL wsdlURL = BOMServiceImplService.WSDL_LOCATION;
        if (args.length > 0) { 
            File wsdlFile = new File(args[0]);
            try {
                if (wsdlFile.exists()) {
                    wsdlURL = wsdlFile.toURI().toURL();
                } else {
                    wsdlURL = new URL(args[0]);
                }
            } catch (MalformedURLException e) {
                e.printStackTrace();
            }
        }
      
        BOMServiceImplService ss = new BOMServiceImplService(wsdlURL, SERVICE_NAME);
        BOMServiceImpl port = ss.getBOMServiceImplPort();  
        
        {
        System.out.println("Invoking getAllParts...");
        java.util.List<java.lang.String> _getAllParts__return = port.getAllParts();
        System.out.println("getAllParts.result=" + _getAllParts__return);


        }
        {
        System.out.println("Invoking getDirectSubPartsOf...");
        java.lang.String _getDirectSubPartsOf_arg0 = "_getDirectSubPartsOf_arg01156081900";
        java.util.List<java.lang.String> _getDirectSubPartsOf__return = port.getDirectSubPartsOf(_getDirectSubPartsOf_arg0);
        System.out.println("getDirectSubPartsOf.result=" + _getDirectSubPartsOf__return);


        }
        {
        System.out.println("Invoking setDirectSubPartsOf...");
        java.lang.String _setDirectSubPartsOf_arg0 = "_setDirectSubPartsOf_arg0-1564658039";
        java.util.List<java.lang.String> _setDirectSubPartsOf_arg1 = new java.util.ArrayList<java.lang.String>();
        java.lang.String _setDirectSubPartsOf_arg1Val1 = "_setDirectSubPartsOf_arg1Val-1394099637";
        _setDirectSubPartsOf_arg1.add(_setDirectSubPartsOf_arg1Val1);
        port.setDirectSubPartsOf(_setDirectSubPartsOf_arg0, _setDirectSubPartsOf_arg1);


        }

        System.exit(0);
    }

}
